package com.joolun.weixin.entity;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 视频库对象 zb_video
 * 
 * @author joolun
 * @date 2025-04-24
 */
@Data
public class ZbVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String title;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 视频信息 */
    @Excel(name = "视频信息")
    private String videoInfo;

    /** 用途类型 */
    @Excel(name = "用途类型")
    private String type;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String url;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 主体id */
    @Excel(name = "主体id")
    private String corpId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setVideoInfo(String videoInfo) 
    {
        this.videoInfo = videoInfo;
    }

    public String getVideoInfo() 
    {
        return videoInfo;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("tag", getTag())
            .append("videoInfo", getVideoInfo())
            .append("type", getType())
            .append("url", getUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
